Part Number Hot Search : 
78011 6TRPB 36150 16160 1N5811US HCC40 SFT5333A SG75461
Product Description
Full Text Search
 

To Download SSM2163 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 a
FEATURES Each of 8 Inputs Can Be Assigned to Either or Both Outputs Voltage Inputs and Outputs - No Need For External Amplifiers Each Input Provides 63 dB of Attenuation in 1 dB Steps, Plus Mute -82 dBu Signal-to-Noise Ratio (0 dBu = 0.775 V rms) +10 dBu of Headroom 0.007% THD+N (Unity Gain, @ 1 kHz, 0 dBu) Power-Up/System Mute Feature Industry-Standard 3-Wire Serial Interface Data Out Terminal Permits Daisy Chaining of Multiple SSM2163s Single or Dual Supply Operation 28-Pin Plastic DIP and SOIC Package APPLICATIONS Multimedia System Mixing Audio Mixing Consoles Broadcast Equipment Intercom/Paging Systems Musical Instruments
V IN1 DCA DCA
Digitally Controlled 8 2 Audio Mixer SSM2163
SIMPLIFIED BLOCK DIAGRAM
SSM2163
V IN2
VOLTAGE REFERENCE GENERATOR V IN3 DCA
VCC VEE ACOM AGND
V IN4
DCA VOUTL
V IN5
DCA
OUTPUT SWITCHING NETWORK
VOUTR
V IN6
DCA
SYSTEM MUTE DATA OUT SHIFT REGISTER AND ADDRESS DECODER CLK DATA LD WRITE DGND VDD VSS
V IN7
DCA
GENERAL DESCRIPTION
V IN8
DCA
The SSM2163 provides eight audio inputs, each of which can be mixed under digital control to a stereo output. Each input channel can be attenuated up to 63 dB in 1 dB intervals, plus fully muted. Additionally, any input can be assigned to either or both outputs. A standard 3-wire serial interface is employed, plus a Data Out terminal to facilitate daisy chaining of multiple mixer ICs. No external components are required for normal operation. Excellent audio performance is attained. The SSM2163 has a signal-to-noise ratio of -82 dBu (0 dBu = 0.775 V rms), with 10 dBu of headroom resulting in total dynamic range of 92 dBu. Total harmonic distortion plus noise is 0.007% at 1 kHz with all levels set at unity gain.
DCA: DIGITALLY CONTROLLED ATTENUATOR
The SSM2163 can be operated from single (+5 V to +14 V) or dual ( 4 V to 7 V) supplies, and is housed in 28-pin plastic DIP and SOIC packages. The SSM2163 is an ideal companion product to the Analog Devices family of stereo codecs in high performance multimedia systems requiring mixing of multiple signals.
REV. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. (c) Analog Devices, Inc., 1995 One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 617/329-4700 Fax: 617/326-8703
SSM2163-SPECIFICATIONS5 V, A = 0 dB, V = 0 dBu = 0.775 V rms, f (V =
ELECTRICAL SPECIFICATIONS
Parameter AUDIO PERFORMANCE Noise Headroom Total Harmonic Distortion Plus Noise Conditions VIN = GND, 20 kHz Bandwidth Clip Point = 1% THD+N 2nd and 3rd Harmonics Only AV = 0 dB AV = -20 dB AV = 0 dB, VS = +5 V, Single Supply
S V IN AUDIO = 1 kHz, fCLK = 250 kHz, RL = 100 k , -40 C < TA < +85 C, unless otherwise noted. Typical specifications apply at TA = +25 C.)
Min
Typ -82 +10 0.007 0.02 0.035
Max
Units dBu dBu
0.03
% % % k dB
ANALOG INPUT Input Impedance VOLUME CONTROL Step Size Gain Error
7
10 1.0
15
Gain Match Error
Relative to Same Channel 0 dB Attenuation -20 dB Attenuation -40 dB Attenuation Channel-to-Channel; Same Level Setting 0 dB Attenuation -20 dB Attenuation -40 dB
0.1 0.1 0.25 0.01 0.05 0.4 64 15 500 4 5000 50
1.0
dB dB
Mute Attenuation ANALOG OUTPUT Output Impedance Output Current Minimum Resistive Load Maximum Capacitive Drive Offset Voltage CONTROL SECTION Logic Input LO Logic Input HI Logic Input Current Logic Out LO Logic Out HI Timing Characteristics REFERENCE (ACOM) Output Voltage Output Impedance Load Regulation POWER SUPPLIES Supply Voltage Range Supply Current Power Supply Rejection Ratio
Specifications subject to change without notice.
dB dB dB dB A k pF mV 0.8 V V A V V
THD = 1% Channel Muted
2.0 Logic LO or HI IOUT = 0.2 mA IOUT = 0.2 mA See Timing Diagram VS = +10 V (Single Supply) -0.5 mA IL +0.5 mA (Single Supply) Dual Supply Single Supply VS = +10 V (Single Supply) Delta Gain 4 +5 8 0.005 1 0.4 2.4
4.7
5.0 10 0.2
5.3
V % V V mA dB/V
7 +14 15
-2-
REV. 0
SSM2163
Timing Description
Timing Symbol tCL tCH tDS tDH tCW tWC tLW tWL tL tW3 tPD
Description Input Clock Pulse Width Input Clock Pulse Width Data Setup Time Data Hold Time Positive CLK Edge to End of Write Write to Clock Setup Time End of Load Pulse to Next Write End of Write to Start of Load Load Pulse Width Load Pulse Width (3-Wire Mode) Propagation Delay from Rising Clock to SDO Transition (RL = 220 k, CL = 20 pF)
Min 50 50 25 35 25 35 20 20 250 250 10
Typ
Max
Units ns ns ns ns ns ns ns ns ns ns ns
80
160
NOTES 1. An idle HI (CLK-HI) or idle LO (CLK-LO) clock may be used. Data is latched on the positive edge. 2. For SPI or microwire three-wire bus operation, tie LD to WRITE and use WRITE pulse to drive both pins. (This generates an automatic internal LD signal.) 3. If an idle HI clock is used, t CW and tWL are measured from the final negative transition to the idle state. 4. The first data byte selects an address (MSB HI), and subsequent MSB LO states set gain levels. Refer to the Address/Data Decoding Truth Table. 5. Data must be sent MSB first.
1 CLK 0 1 DATA 0 1 WRITE & LOAD 0 D7 D6 D5 D4 D3 D2 D1 D0
tCL
1 CLK 0
tCH
tDS
1 DATA 0
tDH
tCW tW3 tWC
1 WRITE & LOAD 0
tPD
1 SDO 0
Figure 1. Three-Wire Mode Timing Diagram
REV. 0
-3-
SSM2163
1 CLK 0 1 DATA 0 1 WRITE 0 1 LD 0 D7 D6 D5 D4 D3 D2 D1 D0
tCL
1 CLK 0
tCH
tDS
1 DATA 0
tDH
tCW
1 WRITE 0
tWC
tWL
tL
tLW
1 LOAD 0
tPD
1 SDO 0
Figure 2. Four-Wire Mode Timing Diagram
-4-
REV. 0
SSM2163
ABSOLUTE MAXIMUM RATINGS 1
Supply Voltage Dual Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 V Single Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +16 V Analog Input Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VS Logic Input Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VS Output Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 mA Operating Temperature Range . . . . . . . . . . . . -40C to +85C Storage Temperature . . . . . . . . . . . . . . . . . . -65C to +150C Junction Temperature (TJ) . . . . . . . . . . . . . . . . . . . . . +150C Lead Temperature (Soldering, 60 sec) . . . . . . . . . . . . . +300C
THERMAL CHARACTERISTICS
PIN CONFIGURATIONS Epoxy Plastic DIP (P-Suffix) and SOIC (S-Suffix)
DGND 1 VSS 2 DATA OUT 3 VDD 4 VIN1 5 NC (SHIELD) 6 28 SYSTEM MUTE 27 DATA IN 26 CLK 25 WRITE
SSM2163
24 LD
TOP VIEW 23 NC (SHIELD) VIN3 7 (Not to Scale) 22 VIN2 21 NC (SHIELD) 20 VIN4 19 NC (SHIELD) 18 VIN6 17 AGND 16 VIN8 15 VOUTR
NC (SHIELD) 8 VIN5 9 VCC 10 VIN7 11
Thermal Resistance2 28-Pin Plastic DIP (SSM2163P) JA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-Pin SOIC (SSM2163S) JA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRANSISTOR COUNT
48C/W 22C/W 68C/W 20C/W
VEE 12 ACOM 13 VOUTL 14
Number of Transistors . . . . . . . . . . . . . . . . . . 1711 MOSFETs 447 BJTs
ESD RATINGS
883 (Human Body) Model . . . . . . . . . . . . . . . . . . . . . . 1000 V
NOTES 1 Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 JA is specified for worst-case conditions, i.e., JA is specified for device in socket for P-DIP and device soldered in circuit board for SOIC package.
ORDERING GUIDE
Model SSM2163P SSM2163S
Temperature Range -40C to +85C -40C to +85C
Package Description Plastic DIP SOIC
Package Option N-28 R-28
CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the SSM2163 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
REV. 0
-5-
SSM2163
PIN DESCRIPTION
Pin # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Mnemonic DGND VSS DATA OUT VDD VIN1 NC (Shield) VIN3 NC (Shield) VIN5 VCC VIN7 VEE ACOM VOUTL VOUTR VIN8 AGND VIN6 NC (Shield) VIN4 NC (Shield) VIN2 NC (Shield) LD WRITE CLK Data In SYSTEM MUTE
Function Digital Ground. Digital Negative Supply. Serial data output clocked on positive clock edge. Connect DATA OUT to DATA IN pin to daisy-chain multiple SSM2163s. Output levels are VDD to DGND. Digital Positive Supply. Audio Signal Input 1. Shield Pin. Should be tied to AGND to minimize crosstalk. Audio Signal Input 3. Shield Pin. Should be tied to AGND to minimize crosstalk. Audio Signal Input 5. Analog Positive Supply. Audio Signal Input 7. Analog Negative Supply. Analog Common Voltage. Provides a buffered voltage output halfway between VCC and VEE for use as a pseudo ground in single supply applications. Left Audio Output. Right Audio Output. Audio Signal Input 8. Analog Ground. Audio Signal Input 6. Shield Pin. Should be tied to AGND to minimize crosstalk. Audio Signal Input 4. Shield Pin. Should be tied to AGND to minimize crosstalk. Audio Signal Input 2. Shield Pin. Should be tied to AGND to minimize crosstalk. Load Data. Write Data. Clock. Serial Data Input. Clocked on positive clock edge. Mutes all eight input channels thus left and right audio output are muted. System mute does not change the state of internal latches. All digital data remains intact after system mute is applied. Logic One: Mutes Output Logic Zero: Normal Operation
LSB MSB LSB
MSB
ADDRESS MODE SELECTION INPUT CHANNEL 1 INPUT CHANNEL 2 INPUT CHANNEL 3 INPUT CHANNEL 4 INPUT CHANNEL 5 INPUT CHANNEL 6 INPUT CHANNEL 7 INPUT CHANNEL 8 1 1 1 1 1 1 1 1 X X X X X X X X X X X X X X X X ADDRESS 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 X X X X X X X X
DATA MODE DATA 0 0 0 . . . . 1 1 1 0 0 0 . . . . 1 1 1 0 0 0 . . . . 1 1 1
DATA 0 0 0 . . . . 1 1 1 0 0 1 . . . . 0 1 1 0 1 0 . . . . 1 0 1
ATTENUATION 0dB -1dB -2dB . . . . -61dB -62dB -63dB
L E F T
R I G H T
OUTPUT SELECT 1 = SELECTED, 0 = NOT SELECTED INPUT SELECT X = "DON'T CARE," SHADED AREA IS DATA
Figure 3. Address and Data Decoding Truth Table
-6-
REV. 0
SSM2163
20.000 10.000 0.0 -10.00
AMPLITUDE - dBr
1400 VS = 5V TA = +25C
AV = 0dB
1050
-20.00 -30.00 -40.00 -50.00 -60.00 -70.00 -80.00 20 VS = 5V LPF = 22kHz RL = 100k TA = +25C
UNITS
AV = -20dB
700
AV = -40dB
350
0 0.0
0.002
0.004
100
1k FREQUENCY - Hz
10k
20k
0.006 THD - %
0.008
0.010
0.012
Figure 4. Frequency Response
Figure 6. THD Distribution
1 AV = 0dB FREQ = 1kHz LPF = 22kHz RL = 100k 0.1 TA = +25C
0 -10 -20 -30 -40 -50 -60 VS = 5V VIN = 0dBu AV = 0dB Notch F = 1kHz RL = 100k TA = +25C
THD + N - %
dBu
VS = 7V 5
VS = 5V 0.010
-70 -80 -90 -100 -110 -120 -130
0.001 0.1
1 AMPLITUDE - V rms
-140 0 2 4 6 8 10 12 14 16 FREQUENCY - kHz 18 20 22 24
Figure 5. THD+N vs. Amplitude
Figure 7. (THD+N) = 1 kHz Tone at 0 dBu (4k-Point FFT)
REV. 0
-7-
SSM2163
1 VS = 5V VIN = 0dBu AV = 0dB LPF = 22kHz RL = 100k TA = +25C
1 AV = 0dB FREQ = 1kHz LPF = 22kHz RL = 100k TA = +25C VS = 4.5V VS = 5V VS = 5.5V 0.010
0.1
0.1
THD + N - %
THD + N - %
0.010 0.001 20
100
1k FREQUENCY - Hz
10k
20k
0.001 0.1
1 AMPLITUDE - V rms
5
Figure 8. THD+N vs. Frequency
Figure 11. THD+N vs. Amplitude - Single Supply
1 V = 0dBu IN AV = 0dB LPF = 22kHz RL = 100k TA = +25C 0.1
THD + N - %
VS = 4.5V
VS = 5V
100
VS = 7V VS = 10V 0.010 VS = 12V
90
VS = 5V AV = 1 NO LOAD TA = +25C
10 0%
0.001
50mV
0.005 20 100 1k FREQUENCY - Hz 10k 20k
10S
Figure 9. THD+N vs. Frequency - Single Supply
Figure 12. Small Signal Transient Response
1
AV = 0dB FREQ = 1kHz LPF = 22kHz RL = 100k TA = +25C
VS = 5V
100 90
0.1
THD + N - %
VS = 5V AV = 1 CL = 10,000pF TA = +25C
VS = 14V 0.010
10 0%
0.001 0.1
50mV
1 AMPLITUDE - V rms 5
10S
Figure 10. THD+N vs. Amplitude - Single Supply
Figure 13. Small Signal Transient Response
-8-
REV. 0
SSM2163
VS = 5V NO LOAD TA = +25C
100 90
100 90
VS = 5V TA = +25C AV = 100
50mS
10 0%
10 0%
1V
1S
20mV
Figure 14. Large Signal Transient Response
Figure 17. Broadband Noise
0.0 -10.00
100 90
-20.00
AMPLITUDE - dBr
VS = 5V NO LOAD TA = +25C
VS = 5V VIN = CHANNEL 1 0dBu AV = 0dB LPF = 22kHz RL = 100k TA = +25C
-30.00 -40.00 -50.00 -60.00
RIGHT OUTPUT WITH VIN STEERED FULL LEFT
10 0%
LEFT OUTPUT WITH VIN STEERED FULL RIGHT -70.00
1V
1S
-80.00 20 100 1k FREQUENCY - Hz 10k 20k
Figure 15. Large Signal Transient Response
Figure 18. Output Channel Separation vs. Frequency
0.0 -10.00 -20.00 VS = 5V LPF = 22kHz RL = 100k
SUPPLY CURRENT - mA
30
25
TA = +25C
AMPLITUDE - dBr
-30.00 -40.00 -50.00 -60.00 -70.00 -80.00 -90.00 -100.00 20
TA = +25C RL = 100k
20 ISY+ 15 ISY- 10
5
0 4
4.5
5
5.5
6
6.5
7
100
1k FREQUENCY - Hz
10k
20k
SUPPLY VOLTAGE - V
Figure 16. Noise Amplitude vs. Frequency
Figure 19. Supply Current vs. Supply Voltage
REV. 0
-9-
SSM2163
THEORY OF OPERATION
The SSM2163 is an eight-input, two-output audio mixer and attenuator. The device provides eight analog inputs, each of which can be individually attenuated by 0 dB to 63 dB in 1 dB steps (see the SSM2163 simplified block diagram). The eight signals can then be mixed into one or both of two analog outputs. The channel attenuation level and mixer functions are controlled by digital registers, which are loaded via a serial interface. A hardware mute input is included to asynchronously force all inputs into the muted state.
Analog Section
LOAD
TO ATTENUATOR SWITCHES
TO MIXER SWITCHES
ATTENUATOR LEVEL DATA LATCHES (6 BITS)
LEFT/RIGHT CHANNEL CONTROL LATCHES (2 BITS) RESET CLK MUTE INPUT
CLK
The analog signal path is shown in Figure 20. Each analog input has a nominal impedance of 10 k. Each input therefore appears as a digitally programmable 10 k potentiometer. The SSM2163 input impedance remains constant as the attenuation level changes. Therefore, the sources which drive the SSM2163 do not have to drive complex and variable impedances. The attenuated analog input is applied to the left and right channel inputs of the mixer. Each mixer channel consists of an analog switch and a buffer amplifier. If the channel is selected (via the appropriate bit in the mixer control register), the analog switch is turned on. The buffer amplifier is included after the analog switch so that the gain of each channel will not be affected by the potentiometer setting or by the on-resistance (RDS(ON)) of the switch. Each mixer channel which is ON is then summed into its respective (Left or Right) mixer summing amplifier. (If both of the mixer channels are ON, then the attenuated analog input will be applied to both the Left and Right summing amplifiers.) The buffered output of the summing amplifier will supply 500 A to an external load.
MIXER BUFFER AMP ATTENUATOR VIN1 MIXER SWITCH SUMMING AMPLIFIER OUTPUT BUFFER
DATA IN CLK WRITE
DATA CLOCK
INPUT SHIFT REGISTER
SERIAL DATA OUTPUT
Figure 21. SSM2163 Serial Data Interface Block Diagram
To access the SSM2163, the host controller (typically a microcomputer) writes a value to the serial shift register which selects the appropriate input channel register for subsequent attenuatorload operations. This write operation also controls the left and right mixer switches. The next write operation then loads the 6-bit attenuator level into the appropriate register. If a series of values are going to be written to the same address, for instance when fading a channel, then only one write operation to the address register is required.
Serial Data Control Inputs
The SSM2163 provides a simple 3- or 4-wire serial interface (Figures 22 and 23). Data is input on the DATA IN pin, while CLK is the serial clock. Data can be shifted into the SSM2163 clock rates up to 1 MHz. The shift register clock, CLK, is enabled when the WRITE input is low. The WRITE pin can therefore be used as a chip select input. However, the shift register contents are not transferred to the register banks until the rising edge of LOAD. In most cases, WRITE and LOAD will be tied together, forming a traditional 3-wire serial interface. See the Microcomputer Interfaces section of this data sheet for more information. To enable a data transfer, the WRITE and LOAD inputs are driven low. The 8-bit serial data, formatted MSB first, is input on the DATA IN input and clocked into the shift register on the rising edge of CLK. The data is latched on the rising edge of WRITE and LOAD. If the data is an address, then the mixer control is updated. If the data is an attenuator value the rising edge of WRITE and LOAD will update the appropriate attenuator value.
MUTE Input
K=1 R1 AGND R2 CH1L SELECT K=1
VOUTL
VOUTR
AGND CH1R SELECT R63 1 OF 63 DECODER
TO INPUTS VIN2 - VIN8
AGND
ATTENTION VALUE FROM DATA REGISTER
NOTE: ONLY ONE OF EIGHT CHANNELS SHOWN FOR CLARITY
Figure 20. SSM2163 Analog Signal Path
Digital Interface
The digital interface consists of two banks of 8 data registers with a serial interface (Figure 21). One register bank holds the left/right mixer control bits, while the other register bank holds the 6-bit attenuator value.
The MUTE pin provides a hardware input to force all the SSM2163 channels into the muted state. The MUTE input is active HIGH. Most C I/O pins are in a high impedance state or configured as inputs at power-up, so the SSM2163 will automatically be muted at power-up. A 10 k resistor to +5 V is recommended, to ensure that MUTE is pulled high reliably. The MUTE input can also be driven from a C's RESET signal to force a power-on mute. In addition to power-on, the MUTE input can be used to asynchronously mute all channels at any time. The mute function of the SSM2163 does not affect the attenuator values -10- REV. 0
SSM2163
SSM2163 power supply connections
VDD VCC 4 10 10F + 17
VDD
V+ 0.1F
4 10 +
VDD 4
VCC
V+ 0.1F
VCC 10 + 10F AGND 17
V+ 0.1F
10F AGND 17
AGND
ACOM (NC)
ACOM
VSS VEE 2
13 2 10F 12 +
ACOM (NC)
EXTERNAL REFERENCE
VREF OUT 0.1F
VSS
12 10F 1 + V- 0.1F
VSS 2 VEE 12
VEE
1 DGND
1 DGND
DGND
Figure 22a. Dual Supply
Figure 22b. Single Supply
Figure 22c. Single Supply Using External Reference
stored in the attenuator control registers. To re-enable the system after a mute, use the address byte to turn on the desired mixer channel. The selected channel will then operate with the previously set attenuator value.
Serial Data Input Format
Power Supplies and Decoupling
The SSM2163 operates from either single or dual (split) power supplies. In either case, proper supply decoupling is important to maximize audio performance. To reduce noise, separate pins are provided for the digital and analog power supply connections. These pins should be connected together (VDD to VCC and VEE to VSS ) as close to the SSM2163 package as possible (Figures 22a, 22b, 22c, power supply connections).
Single Supply Operation
As previously mentioned, data is written to the SSM2163 in two 8-bit bytes. The serial data format is shown in the Address and Data Decoding Truth Table, Figure 3. The first byte sent contains the channel address and the Left/Right output mixer control bits. The address byte is identified by the MSB being high. The second byte contains the data (i.e., the attenuator value). The six LSBs of this byte set the attenuation level, from 0 dB to -63 dB. The MSB of the data byte must be a logic zero. The standard format for data sent to the SSM2163 is an address byte followed by a data (attenuator level) byte. In some cases, however, only one byte needs to be sent. For example, attenuation levels are not affected by the MUTE input. To turn a muted channel on, simply send an address byte with the Left or Right mixer bit set. The addressed channel will immediately be enabled, using the previously-set attenuation level. Furthermore, once a channel is addressed the attenuation level can be varied by sending additional data bytes. For example, fading a channel can be accomplished by simply incrementing the data value sent to the SSM2163.
Serial Data Output
The SSM2163 will operate with a single power supply of +5 V to +14 V. Single supply operation simplifies design and reduces system cost in multimedia applications, battery powered systems, and similar designs. The SSM2163 provides about 2 dB of headroom (to 1% THD+N) when operating from a single +5 V supply. The key to operating from a single supply is to reference all analog common connections to a voltage midway between the supply and ground. To simplify single supply operation, the SSM2163 provides a buffered pseudo-ground reference (ACOM) on Pin 13. This reference, shown in Figure 23, provides a low impedance output at approximately one half of the supply voltage. Connect Analog Ground (Pin 17) to the ACOM output (Pin 13) for single supply operation. To minimize noise caused by modulation of the pseudo-ground, Pin 13 should be bypassed to power supply ground with 0.1 F and 10 F capacitors.
The MSB of the shift register is available on the serial DATA OUTPUT pin. This output can be connected to the input of another SSM2163 to permit "daisy-chain" operation. See Figure 26 for a typical application. The DATA OUTPUT pin swings between the digital power supply rails (i.e., from VDD to VSS ).
Logic Levels
All of the SSM2163 logic inputs have TTL and CMOS compatible thresholds. However, the allowable voltage range for these inputs extends from VDD to VSS.
REV. 0
-11-
SSM2163
VIN ATTENUATOR MIXER SWITCH MIXER BUFFER AMP MIXER SUMMING AMPLIFIER VOUT VOUT
+5V POWER SUPPLY TTL/CMOS LOGIC CIRCUITS
+
+5V 10F 0.1F
VCC
VDD
AGND ACOM
SSM2163
VSS VEE
DGND 0.1F
+
10F
CHANNEL SELECT VCC R1 R2 VEE R1=R2
AGND
ACOM 10F 0.1F
GND
VEE
Figure 23. Single-Supply Pseudo-Ground Reference (ACOM) Generator
Figure 24. Use Separate Traces to Reduce Power Supply Noise
For single supply operation, the inputs can either be ac-coupled, as shown in Figure 25, or referenced to the pseudo-ground output. AC coupling eliminates dc offset and offset drift differentials between the input source and the SSM2163. In addition, ac coupling reduces the risk of "clicks" when switching between multiple dc-coupled inputs which have different reference levels. Since the input coupling capacitors are in series with the 10 k input of the attenuator, the impedance of these capacitors will influence low frequency gain. The inexpensive 10 F aluminum electrolytic capacitors shown will limit the gain error to 0.66 dB at 20 Hz. If the entire system is operating from a single supply, then typically the input voltage is already referenced to the midpoint of the supply. In this case, the SSM2163 can be referenced to the same midpoint reference source, as shown in Figure 22c. This connection will eliminate dc offset errors caused by having the input signal common and the SSM2163 analog common referenced to different voltages. DC offset errors can also be eliminated, of course, by using the ac coupling technique discussed above.
Dual-Supply Operation
Even if the system includes separate analog and digital power supplies, both the analog and digital power pins of the SSM2163 should be connected to the analog supply. While this connection will inject a small amount of digital noise into the analog ground, the effect is small due to the SSM2163's low digital logic input currents and capacitances. If, on the other hand, the SSM2163's digital supply pins are connected to a digital power supply, then noise from the digital supply will be coupled into the SSM2163 and degrade performance.
APPLICATIONS An 8-Input, 2-Output Mixer
A single-chip, 8-input, 2-output mixer using the SSM2163 is shown in Figure 25. With this circuit, any of the eight channels can be attenuated by 0 dB to -63 dB and mixed into the right, left, or both outputs under software control.
+5V 4 10 10F INPUT 1 LEFT INPUT 2 LEFT INPUT 3 LEFT INPUT 4 LEFT INPUT 1 RIGHT INPUT 2 RIGHT INPUT 3 RIGHT INPUT 4 RIGHT 10F + 10F + 10F + 10F + 10F + 10F + 10F + 10F + 5 22 7 20 9 18 11 16 VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8 VOUTR VDD VCC VOUTL 14 15 LEFT CHANNEL OUTPUT RIGHT CHANNEL OUTPUT +
0.1F
The SSM2163 will also operate from dual supplies, ranging from 4 V to 7 V. (See Figure 22a.) In this case, input signals can be referenced to power supply ground. The ACOM output (Pin 13) is left open (no connection) for dual supply operation.
Supply Decoupling
DATA OUT
3
NC
SSM2163
SHIELD SHIELD SHIELD
6 8 19 21 23 17 13
Optimizing the performance of the SSM2163, or any low noise device, requires careful attention to power supply decoupling. Since the SSM2163 can operate from a single +5 V supply, it seems convenient to simply tap into the digital logic power supply. Unfortunately, the logic supply is often a switch-mode design, which generates noise in the 20 kHz to 1 MHz range. In addition, fast logic gates can generate glitches hundred of millivolts in amplitude due to wiring resistances and inductances. If a separate analog power supply is not available, the SSM2163 can be powered directly from the system power supply. Separate power and ground traces should be provided for the analog section, if possible. This arrangement, shown in Figure 24, will isolate the analog section from the logic switching transients. Even if a separate power supply trace is not available, however, generous supply bypassing will reduce supply line induced noise. Local supply bypassing, consisting of a 10 F tantalum electrolytic in parallel with a 0.1 F ceramic capacitor, is recommended in all applications. (See the SSM2163 Power Supply Connections figures.)
DATA IN CLOCK CHIP SELECT
27 26 25 24
DATA IN CLK WRITE LD SYSMUTE VSS 2 VEE
SHIELD SHIELD AGND ACOM DGND 1
SYSTEM MUTE
28
+
12
10F
0.1F
Figure 25. An 8-Input, 2-Output Mixer
This circuit demonstrates ac coupling of the inputs. As previously mentioned, this eliminates level shifting concerns from previous stages. The circuit of Figure 25 also demonstrates single +5 V supply operation. The output of the ACOM supply-splitter, Pin 13, provides the pseudo-ground reference which is required when operating from a single supply. REV. 0
-12-
SSM2163
Mixing Additional Channels
Some mixing applications require more than four inputs for each stereo channel. To meet the requirements of these systems, two or more SSM2163s can be paralleled to provide additional channels. A typical circuit is shown in Figure 26, which combines two SSM2163s to form a 16-input, 2-output mixer. An SSM2135 dual audio op amp sums the outputs of each of the SSM2163s. With this system, any of the 16 inputs can be mixed into either or both of the output channels.
+5V 4 5 22 7 20 9 18 11 16 10 + 10F 0.1F 20k +5V 14 20k 20k 0.1F -5V NC 1/2 SSM2135 0.1F VOUTL
The circuit of Figure 26 illustrates dc coupling of the inputs. DC coupling is practical with dual supplies and groundreferenced inputs, because the dc offsets associated with singlesupply operation are reduced. However, ac coupling could also be used, and employing both ac- and dc-coupled signals in one mixer is also possible. In addition, this circuit illustrates the connections for 5 V power supplies. Note that the negative supply, as well as the positive supply, should be bypassed to ground.
Implementing a Software-Controlled Pan-Pot
VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8
VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8
VDD VCC VOUTL
VOUTR 15 DATA OUT ACOM 3 13
SSM2163 #1
SHIELD 6 8 19 21 SHIELD SHIELD SHIELD
DATA IN CLOCK CHIP SELECT
27 26 25 24
DATA IN CLK WRITE LD SYSMUTE VSS 2
SHIELD 23 AGND 17 VEE DGND 12 1
SYSTEM MUTE
28
-5V 10F+ 0.1F
Pan and fade effects are important attributes of modern multimedia presentations and similar applications. One way to achieve these effects is to apply the input signal to two input channels of the SSM2163, as shown in Figure 27. Since any input channel can be mixed into either or both outputs, sophisticated pan and fade effects are easily accomplished in software. For example, Input 1 can be connected to the left channel with 0 dB attenuation, while Input 2 is applied to the right channel with -10 dB of attenuation. This configuration will produce the effect of having the audio source "located" to the left of center line of the speakers. Another possible option would be to attenuate the left channel while boosting the right, which would produce an effect of movement of the audio source. Since any input can be connected to either output, very flexible and sophisticated effects can be produced without hardware changes.
VIN1
+5V 4 5 22 7 20 9 18 11 16 10 + 10F
VIN
0.1F
VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8
VIN1 VIN2 VIN3 VIN4 VIN5 VIN6 VIN7 VIN8
VDD VCC VOUTL 14 20k 20k VOUTR NC NC 1/2 SSM2135 20k
VOUTL
VOUTR 15 DATA OUT ACOM 3 13
VIN2
SSM2163 #2
SHIELD 6 8 19 21 SHIELD SHIELD SHIELD
VOUTR
27 26 25 24 28
DATA IN CLK WRITE LD SYSMUTE VSS 2
SHIELD 23 AGND 17 VEE DGND 12 1
SSM2163
TO INPUTS VIN3 - VIN8
-5V 10F+ 0.1F
Figure 26. A 16-Input, 2-Output Mixer
Figure 27. Connecting the SSM2163 for Pan-Pot Operation
Driving Headphones
This circuit utilizes the DATA OUT feature of the SSM2163 to transfer data from the first SSM2163 to the second. In the daisy-chain mode, the DATA OUT pin of the first SSM2163 is connected to the DATA IN pin of the second device. The advantage of this "daisy chain" connection is that it allows a 3-wire serial interface, as was used in the previous 8-input mixer, to control two or more SSM2163s. The serial data format for the daisy chain circuit is similar to the 8-channel application, except that the SSM2163s are loaded in tandem. After setting WRITE and LOAD low, two bytes (16 bits) are clocked into the first SSM2163. When WRITE and LOAD return high, data will be latched into both SSM2163s simultaneously.
A high speed, high output current amplifier, such as the OP279, can be added to drive headphones directly. A typical connection is shown in Figure 28. Single +5 V operation is maintained, since the OP279 offers rail-to-rail inputs and outputs. The OP279's high current output stage can drive a 48 load to 4 V p-p while maintaining less than 1% THD.
REV. 0
-13-
SSM2163
+V +5V
1/2 OP279
(P3.0) RxD
DATA IN CLK WRITE LD +5V 10k
16 220F
VOUTL
14
+
LEFT HEADPHONE
(P3.1) TxD P1.4 P1.2
50k
SSM2163
SSM2163
1/2 OP279
80C51 C
16
+
220F RIGHT HEADPHONE
P1.3
VOUTR
15
SYSMUTE
50k
NOTE: ADDITIONAL PINS OMITTED FOR CLARITY
Figure 28. A Single-Supply Stereo Headphone Driver
Figure 30. Interfacing the 80C51 C to an SSM2163 in 4-Wire Mode
An 80C51 C Interface
The op amp's input offset voltage is only 4 mV maximum, so the SSM2163 output can be dc coupled. The headphone output is ac coupled through a 220 F capacitor. The large coupling capacitor is required because of the low impedance of the headphones, which can range from 32 to 600 . An additional 16 resistor is used in series with the output capacitor to protect the op amp's output stage by limiting capacitor discharge current.
Microcomputer Interfaces
A typical interface between the SSM2163 and an 80C51 C is shown in Figure 30. This interface uses the 80C51's internal serial port. The serial port is programmed for Mode 0 operation, which functions as a simple 8-bit shift register. The 80C51's Port 3.0 pin functions as the serial data output, while Port 3.1 serves as the serial clock. When data is written to the serial buffer register (SBUF, at Special Function Register location 99H), the data is automatically converted to serial format and clocked out via Port 3.0 and Port 3.1. After 8 bits have been transmitted, the Transmit Interrupt flag (SCON.1) is set and the next 8 bits can be transmitted. The 80C51 transmits serial data in Least Significant Bit (LSB)first format. The SSM2163, on the other hand, requires data in MSB format. A BYTESWAP routine swaps the order of the bits before transmission. The SSM2163 requires the Chip Select to go low at the beginning of the serial data transfer. After each 8 bits (either address or attenuation value) are transmitted, Chip Select must go high to latch data into the appropriate register. Chip Select is controlled by the 80C51's port 1.4 pin.
Software for the 80C51 Interface
The SSM2163 serial data input provides an easy interface to a variety of single chip microcomputers (Cs). Many Cs have a built-in serial data capability which can be used for communicating with the SSM2163. In cases where no serial port is provided, or it is being used for some other purpose (such as an RS-232 communications interface), the SSM2163 can easily be addressed in software. The SSM2163 can operate in either a 3-wire or 4-wire mode. In most cases, the 3-wire mode is more practical, due to reduced PC board traces and compatibility with C serial interface protocols. A typical interface, using the 80C51 C, is shown in Figure 29, while the interface waveforms are shown in the Timing Diagram, 3-Wire Mode, Figure 1.
(P3.0) RxD (P3.1) TxD P1.4 DATA IN CLK WRITE LD
SSM2163
80C51 C
+5V 10k P1.3 SYSMUTE
A software routine for the SSM2163 to 80C51 interface is shown in Listing 1. The routine transfers the 6-bit attenuation level stored at data memory location LEVEL_VALUE to the SSM2163 input addressed by the contents of location INPUT_ADDR, and turns the Left and/or Right mixer channels on/off based on bits 3 and 4 of INPUT_ADDR.
NOTE: ADDITIONAL PINS OMITTED FOR CLARITY
Figure 29. Interfacing the 80C51 C to an SSM2163 in 3-Wire Mode
Port in 4-Wire Mode
In some cases, it may be desirable to synchronize the outputs of several SSM2163s. The 4-wire mode, shown in Figure 30, provides this capability. As shown in Figure 2, the Timing Diagram, 4-Wire Mode, the input shift register is loaded with data while the WRITE input is low. However, the data will not be latched into the SSM2163's internal registers until the rising edge of the LOAD input. In this manner, any number of SSM2163s can be loaded with data, while the amplitude and mixer changes will not occur until the separate LOAD pulse occurs.
-14-
REV. 0
SSM2163
Listing 1. Software for the 80C51-SSM2163 Serial Port Interface
; This subroutine loads an SSM2163 mixer channel with a 6-bit ; attenuator value, and turns the Left or Right mixer switch ON or OFF. ; The attenuator value is stored at location ATTEN_VALUE ; The mixer channel address is stored at location INPUT_ADDR ; PORT1 DATA 90H ;SFR register for port 1 ATTEN_VALUE DATA 40H ;Attenuation level (0=0dB) ;ATTEN-VALUE: B7=0, B5-B0=Attenuation Value INPUT_ADDR DATA 41H ;Mixer Channel Address ;INPUT_ADDR: B7=1, B4=L chnl, B3=R chnl, B2-B0=address LOOPCOUNT DATA 42H ;Count loops for byte swap SHIFTREG DATA 43H ;Shift reg. for byte swap SENDBYTE DATA 44H ;Destination reg. for byte swap ; ORG 100H ;arbitrary starting address LD_2163: CLR SCON.7 ;set serial CLR SCON.6 ; data mode 0 CLR SCON.5 ;Clr SM2 for mode 0 CLR SCON.1 ;clr the transmit flag CLR PORT1.3 ;Mute function off SETB PORT1.4 ;WRITE and LOAD High MOV SHIFTREG,INPUT_ADDR ;Get mixer channel address ACALL SEND_IT ; send to SSM2163 SEND_VAL: MOV SHIFTREG,ATTEN_VALUE ;Get the attenuation level ACALL SEND_IT ; send it to the SSM2163 RET ;Done ; ;Convert the byte to LSB-first format and send ; it to the SSM2163 SEND_IT: MOV LOOPCOUNT,#8 ;Shift 8 bits BYTESWAP: MOV A,SHIFTREG ;Get source byte RLC A ;rotate MSB to carry MOV SHIFTREG,A ;Save new source byte MOV A,SENDBYTE ;get destination byte RRC A ;Move carry into MSB MOV SENDBYTE,A ;Save DJNZ LOOPCOUNT,BYTESWAP ;Done? CLR PORT1.4 ;Set WRITE and LOAD low MOV SBUF,SENDBYTE ;Send the byte SEND_WAIT: JNB SCON.1,SEND_WAIT ;Wait until 8 bits are send CLR SCON.1 ;Clear the serial flag SETB PORT1.4 ;Set WRITE and LOAD high to latch RET ; data into the SSM2163 END The subroutine begins by setting appropriate bits in the Serial Control register to configure the serial port for Mode 0 operation. Next the SSM2163's Chip Select input is set low to enable the SSM2163. The input channel address is obtained from memory location INPUT_ADDR, adjusted to compensate for the 80C51's serial data format, and moved to the serial buffer register. At this point, serial data transmission begins automatically. When all 8 bits have been sent, the Transmit Interrupt bit is set, and the Chip Select output is set high to latch the channel address into the SSM2163. The subroutine then sets Chip Select low again and proceeds to send the attenuation value stored at location LEVEL_VALUE. When the Chip Select input is returned high, the appropriate SSM2163 input channel will be updated with the new attenuation value and the subroutine ends. REV. 0 The 80C51 sends data out of its shift register LSB first, while the SSM2163 requires data MSB first. The subroutine therefore includes a BYTESWAP subroutine to reformat the data. This routine transfers the MSB-first byte at location SHIFTREG to an LSB-first byte at location SENDBYTE. The routine rotates the MSB of the first byte into the carry with a Rotate Left Carry instruction, then rotates the carry into the MSB of the second byte with a Rotate Right Carry instruction. After 8 loops, SENDBYTE contains the data in the proper format. The BYTESWAP routine in Listing 1 is convenient because the attenuator data can be calculated in normal LSB form. For example, fading a channel on the SSM2163 is simply a matter of repeatedly incrementing the LEVEL_VALUE location and calling the SEND_VAL subroutine. (Remember, the 6-bit -15-
SSM2163
number stored in LEVEL_VALUE is the attenuation value, expressed in -dB, so larger values will decrease volume. Also, the register must not be allowed to increment beyond 7FH because the MSB will be set and the SSM2163 will interpret the value as an address. Therefore, the two highest bits of LEVEL_VALUE should be cleared by ANDing the register with 3FH.) If the C's hardware serial port is being user for other purposes, the SSM2163 can be loaded by using the parallel port. A typical parallel interface is shown in Figure 31. The serial data is transmitted to the SSM2163 via the 80C51's Port 1.6 output, while Port 1.5 acts as the serial clock.
P1.6 P1.5 P1.4 DATA IN CLK WRITE LD
0.250 (6.35) MAX 0.200 (5.05) 0.022 (0.558) 0.125 (3.18) 0.014 (0.356)
28
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
28-Pin Plastic DIP (N-28)
C2070-18-10/95
0.625 (15.87) 0.600 (15.24) 0.195 (4.95) 0.125 (3.18) 0.015 (0.381) 0.008 (0.204) 1.565 (39.70) 1.380 (35.10)
15
0.580 (14.73) 0.485 (12.32)
1 14
PIN 1
0.060 (1.52) 0.015 (0.38)
0.150 (3.81) MIN 0.100 (2.54) BSC 0.070 (1.77) MAX SEATING PLANE
SSM2163
80C51 C
+5V 10k P1.3 SYSMUTE
28-Pin SOIC (R-28)
0.7125 (18.10) 0.6969 (17.70)
29 15
NOTE: ADDITIONAL PINS OMITTED FOR CLARITY
Figure 31. An SSM2163 to 80C51 C Interface Using Parallel Port 1
Software for the interface of Figure 31 is straightforward. Typically, the C will repeatedly shift the value to be sent, for example from register LEVEL_VALUE, into the carry bit. Port P1.6 is then set or reset based on the carry bit, and Port P1.5 is strobed low and then high to create a clock pulse. After eight loops, the value will have been sent to the SSM2163. Note that all eight bits should be sent, even though only six bits are significant. If only six bits are shifted in, the two low order bits of the previous value will remain in the MSBs of the shift register. If this action results in the MSB being a one, the SSM2163 will interpret this as an address and unpredictable results will occur.
1
14
PIN 1
0.1043 (2.65) 0.0926 (2.35)
0.4193 (10.65) 0.3937 (10.00)
0.2992 (7.60) 0.2914 (7.40)
0.0291 (0.74) x 45 0.0098 (0.25)
0.0118 (0.30) 0.0040 (0.10)
0.0500 (1.27) BSC
8 0.0192 (0.49) 0 SEATING 0.0125 (0.32) 0.0138 (0.35) PLANE 0.0091 (0.23)
0.0500 (1.27) 0.0157 (0.40)
-16-
REV. 0
PRINTED IN U.S.A.


▲Up To Search▲   

 
Price & Availability of SSM2163

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X